package com.cloud.annotation.order;

import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureOrder(2)
public class MyConfigurationB {
    public MyConfigurationB() {
        System.out.println("MyConfigurationB");
    }

    @Bean
    public OrderB demoB() {
        return new OrderB();
    }
}